<?php get_header(); ?>
<!-- content -->
<div id="content" class="wrap">
<!-- main -->
<div class="main">
  <h3 class="wz bom">文章阅读</h3>
  <!-- Blog Post -->
  <?php if (have_posts()) : the_post(); update_post_caches($posts); ?>
  <div class="list bom plr"> 
    <!-- finxed -->
    <?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs(); ?>
    <div class="paper"> 
      <!-- Post Title -->
      <div class="pmt">
      <h3>
        <?php the_title(); ?>
      </h3>
      <!-- Post Title -->
        <div class="sub pmc">
          <i class="user"></i><span> <?php the_author(); ?></span>
          <i class="date"></i><span><?php the_time('Y.n.j') ?></span>
          <i class="chat"></i><span><?php comments_popup_link('0', '1', '%', '', '评论已关闭'); ?></span>
          <i class="tag"></i><span><?php the_tags((' '), '、'); ?></span>
        </div>
      </div>
      <!-- Post Content -->
      <?php the_content(); ?>
      <!-- Post Links -->
      <div class="clearfix">&nbsp;</div>
      <p class="clearfix"> <a href="<?php echo get_option('home'); ?>" class="button but left" >返回首页</a> <a href="#commentform" class="button but right" >发表评论</a> </p>
    </div>
  </div>
  <?php else : ?>
  <?php endif; ?>
  <!-- page style -->
  <div class="pagenavi">
    <?php wp_link_pages(array('before'=>'<div> ','after'=>'','next_or_number'=>'next','previouspagelink'=>'<span class="page-numb">上一页</span>','nextpagelink'=>"")); ?>
    <?php wp_link_pages(array('before'=>'','after'=>'','next_or_number'=>'number','link_before'=>'<span>','link_after'=>'</span>')); ?>
    <?php wp_link_pages(array('before'=>'','after'=>'</div>','next_or_number'=>'next','previouspagelink'=>'','nextpagelink'=>'<span class="page-numb">下一页</span>')); ?>  
  </div>
  <?php comments_template(); ?>
</div>
<?php get_sidebar(); ?>
<!-- link -->
<div class="links wrap">
</div>
<?php get_footer(); ?>
